package cn.jnetty.utils.create;
/**
 * @Author 猪哥亮
 * @创建时间 2018/12/26 12:04
 * @版本 0.0.1
 * @文件描述 资源抽象类.
 */
abstract class AbstractResource implements Resource {
	private final String resourceName;

	protected AbstractResource(String resourceName) {
		this.resourceName = resourceName;
	}

	@Override
	public String getName() {
		return resourceName;
	}

	@Override
	public String toString() {
		return "AbstractResource [resourceName=" + resourceName + "]";
	}
}